/*
 * This is GPL v2 licensed code. See the file LICENSE in the
 * source distribution, or www.gnu.org/copyleft/gpl.html, for
 * more information.
 *
 * Copyright (C) by Håkan Lindqvist 2006, 2007
 */

package PolicyAlgebra.Type;

/** 
 * This class represents a type that an atom may have associated
 * with it.
 */
public class Type {

	private String type;

	/** 
	 * Defualt constructor.
	 */
	public Type() {
		this.type = null;
	}

	/** 
	 * Constructor.
	 *
	 * @param name The name of this type.
	 */
	public Type(String type) {
		this.type = type;
	}


	/** 
	 * Construct a string representation of this object.
	 * 
	 * @return The string representation of this type.
	 */
	public String toString() {
		return type;
	}
}
